package com.rookie.tool.module.example.excel;

import com.rookie.tool.module.util.excel.callback.ExcelDataCallback;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author rookie
 */

@Component
public class TestExcelDataHandle implements ExcelDataCallback<Person> {

    @Override
    public void overflowExecute(List<Person> data) {
//        System.out.println(data);
    }

    @Override
    public void finishExecute(List<Person> data) {
        System.out.println("已完成");
//        System.out.println(data);
    }
}
